package com.pureut.storage.controller;

import com.pureut.storage.dto.NewPickingCompleteDetailDto;
import com.pureut.storage.service.PickingCompleteDetailService;
import com.sale.common.core.web.controller.BaseController;
import com.sale.common.mybatis.core.page.PageQuery;
import com.sale.common.mybatis.core.page.TableDataInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: CM
 * @date: 2023/2/1  16:48
 */

@RestController
@RequestMapping("/pickingCompleteDetail")
public class PickingCompleteDetailController extends BaseController {

    @Resource
    PickingCompleteDetailService pickingCompleteDetailService;

    /**
     *  反攻出库列表
     */
    @GetMapping("/list")
    public TableDataInfo<NewPickingCompleteDetailDto> getList(String docNum, PageQuery pageQuery) {
        //查询返工出库列表
        return  pickingCompleteDetailService.getList(docNum, pageQuery);
    }

}
